<?php
require_once('db.php');
var_dump('test');
$db = new db();
$colums=array('user_number','user_name','id as userIds');
$values=array('111','222');
$result = $db->select('user',$colums)
		->join("blogkind","blogkind.userID=user.id",array('userID','content'))
		->leftJoin("picturesfolder","picturesfolder.ownerId=user.id",array('ownerId','name','cover'))
		->limit('50','0')
		->order('user.id')
		->order('blogkind.id');
var_dump($result->getSql());
$result =$result->fetchAll();
var_dump($result); 
// function __autoload($class){
	// require_once($class.".php");
// }
?>